package com.pzr.chatroom.entity;

import org.springframework.messaging.Message;
import org.springframework.messaging.MessageHeaders;

/**
 * 聊天内容
 * @author pzr
 *
 */
public class ChatContent {
	/**
	 * 时间
	 */
	public String date;
	/**
	 * 内容
	 */
	public String content;
	/**
	 * 发送消息的人
	 */
	public String sendUser;


	/**
	 * 房间号
	 */
	public String roomid;

	public String getRoomid() {
		return roomid;
	}

	public void setRoomid(String roomid) {
		this.roomid = roomid;
	}

	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getSendUser() {
		return sendUser;
	}
	public void setSendUser(String sendUser) {
		this.sendUser = sendUser;
	}

	@Override
	public String toString() {
		return "ChatContent{" +
				"date='" + date + '\'' +
				", content='" + content + '\'' +
				", sendUser='" + sendUser + '\'' +
				'}';
	}

}
